package com.qqtech.qquan.mall.service;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.qqtech.core.frame.dao.BaseDao;
import com.qqtech.core.frame.service.BaseServiceImpl;
import com.qqtech.qquan.mall.dao.MallSupplierUserDao;
import com.qqtech.qquan.mall.model.MallSupplierUser;
import com.qqtech.qquan.mall.model.MallSupplierUserVo;

@Service
public class MallSupplierUserServiceImpl extends BaseServiceImpl<MallSupplierUser>
		implements MallSupplierUserService {
	public static final Logger log = LoggerFactory.getLogger(MallSupplierUserServiceImpl.class);
	
	@Resource
	private MallSupplierUserDao mallSupplierUserDao;

	@Override
	protected BaseDao<MallSupplierUser> getBaseDao() {
		return mallSupplierUserDao;
	}
	
	@Override
	public MallSupplierUserVo getByProductId(Integer productId) {
		return mallSupplierUserDao.getByProductId(productId);
	}
	
}